package com.yangcangclub.trade.bean;

import java.math.BigDecimal;

/**
 * Created by user on 2017/2/27.
 */
public class TradeDetails {
    private Integer id;	//主键
    private String tradeNo;	//订单号
    private Integer productId;	//商品id
    private String productName;	//商品名称 冗余字段
    private String productUrl;    //商品头图（冗余）
    private Integer quality;	//数量
    private Integer activityType;     //活动类型
    private BigDecimal unitPrice;	//售卖单价
    private Integer activityId;	//活动id
    private BigDecimal productTotalPrice;	//产品总价（根据买立减，第二件半价，折扣计算商品最终总价格）
    private Integer userId;	//userId
    private String status;	//（S待付款D待发货R已发货E已完成C已取消F已退款）
    private java.util.Date createDate;	//createDate
    private BigDecimal freightPrice; //运费
    private int isFuxi;//是否是富硒商品，1不是；2是
    private int isLimit; //是否限购商品，1不是；2是


    public TradeDetails(){
    }

    public TradeDetails(
            Integer id
    ){
        this.id = id;
    }

    public void setId(Integer value) {
        this.id = value;
    }

    public Integer getId() {
        return this.id;
    }
    public void setTradeNo(String value) {
        this.tradeNo = value;
    }

    public String getTradeNo() {
        return this.tradeNo;
    }
    public void setProductId(Integer value) {
        this.productId = value;
    }

    public Integer getProductId() {
        return this.productId;
    }
    public void setProductName(String value) {
        this.productName = value;
    }

    public String getProductName() {
        return this.productName;
    }
    public void setQuality(Integer value) {
        this.quality = value;
    }

    public Integer getQuality() {
        return this.quality;
    }
    public void setUnitPrice(BigDecimal value) {
        this.unitPrice = value;
    }

    public BigDecimal getUnitPrice() {
        return this.unitPrice;
    }
    public void setActivityId(Integer value) {
        this.activityId = value;
    }

    public Integer getActivityId() {
        return this.activityId;
    }
    public void setProductTotalPrice(BigDecimal value) {
        this.productTotalPrice = value;
    }

    public BigDecimal getProductTotalPrice() {
        return this.productTotalPrice;
    }
    public void setUserId(Integer value) {
        this.userId = value;
    }

    public Integer getUserId() {
        return this.userId;
    }
    public void setStatus(String value) {
        this.status = value;
    }

    public String getStatus() {
        return this.status;
    }
    public void setCreateDate(java.util.Date value) {
        this.createDate = value;
    }

    public java.util.Date getCreateDate() {
        return this.createDate;
    }

    public String getProductUrl() {
        return productUrl;
    }

    public void setProductUrl(String productUrl) {
        this.productUrl = productUrl;
    }

    public Integer getActivityType() {
        return activityType;
    }

    public void setActivityType(Integer activityType) {
        this.activityType = activityType;
    }

    public BigDecimal getFreightPrice() {
        return freightPrice;
    }

    public void setFreightPrice(BigDecimal freightPrice) {
        this.freightPrice = freightPrice;
    }

    public int getIsFuxi() {
        return isFuxi;
    }

    public void setIsFuxi(int isFuxi) {
        this.isFuxi = isFuxi;
    }

    public int getIsLimit() {
        return isLimit;
    }

    public void setIsLimit(int isLimit) {
        this.isLimit = isLimit;
    }
}
